package cn.dakaqi.entities;

import javax.persistence.Cacheable;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by chunyang on 2016/4/18.
 * 志愿者兑换的福利记录
 */
@Cacheable
@Entity
@Table(name = "U_VOLUNTEER_WELFARE")
public class VolunteerWelfare extends IdEntity
{
    private String memberCode;
    private Float price;//价格
    private String specialDemo;//'特殊说明',
    private String startDay;// '开始日期、',
    private String endDay;//'结束日期',
    private String useDemo;//'使用说明',
    private int times;//'兑换条件公益时间',
    private int integral;//'兑换所需积分',
    private String useAndroid;//'安卓是否立即使用(0不使用1使用)',
    private String androidPackage;//'android使用地址',
    private String androidUrl;//
    private String useIos;//'苹果是否立即使用(0不使用 1使用)',
    private String iosAddres;//'ios使用地址',
    private String useWeb;//'网页是否立即使用(0不使用 1使用)',
    private String webAddress;//'网页使用地址',
    private String img;//'封面图',
    private Date createTime;

    public VolunteerWelfare()
    {
    }

    public VolunteerWelfare(Long id)
    {
        this.id = id;
    }

    public String getMemberCode()
    {
        return memberCode;
    }

    public void setMemberCode(String memberCode)
    {
        this.memberCode = memberCode;
    }

    public Float getPrice()
    {
        return price;
    }

    public void setPrice(Float price)
    {
        this.price = price;
    }

    public String getSpecialDemo()
    {
        return specialDemo;
    }

    public void setSpecialDemo(String specialDemo)
    {
        this.specialDemo = specialDemo;
    }

    public String getStartDay()
    {
        return startDay;
    }

    public void setStartDay(String startDay)
    {
        this.startDay = startDay;
    }

    public String getEndDay()
    {
        return endDay;
    }

    public void setEndDay(String endDay)
    {
        this.endDay = endDay;
    }

    public String getUseDemo()
    {
        return useDemo;
    }

    public void setUseDemo(String useDemo)
    {
        this.useDemo = useDemo;
    }

    public int getTimes()
    {
        return times;
    }

    public void setTimes(int times)
    {
        this.times = times;
    }

    public int getIntegral()
    {
        return integral;
    }

    public void setIntegral(int integral)
    {
        this.integral = integral;
    }

    public String getUseAndroid()
    {
        return useAndroid;
    }

    public void setUseAndroid(String useAndroid)
    {
        this.useAndroid = useAndroid;
    }

    public String getAndroidPackage()
    {
        return androidPackage;
    }

    public void setAndroidPackage(String androidPackage)
    {
        this.androidPackage = androidPackage;
    }

    public String getAndroidUrl()
    {
        return androidUrl;
    }

    public void setAndroidUrl(String androidUrl)
    {
        this.androidUrl = androidUrl;
    }

    public String getUseIos()
    {
        return useIos;
    }

    public void setUseIos(String useIos)
    {
        this.useIos = useIos;
    }

    public String getIosAddres()
    {
        return iosAddres;
    }

    public void setIosAddres(String iosAddres)
    {
        this.iosAddres = iosAddres;
    }

    public String getUseWeb()
    {
        return useWeb;
    }

    public void setUseWeb(String useWeb)
    {
        this.useWeb = useWeb;
    }

    public String getWebAddress()
    {
        return webAddress;
    }

    public void setWebAddress(String webAddress)
    {
        this.webAddress = webAddress;
    }

    public String getImg()
    {
        return img;
    }

    public void setImg(String img)
    {
        this.img = img;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }
}
